package cn.dogger.easyboot.init.initEntity;

import cn.dogger.easyboot.init.annotation.InitField;
import cn.dogger.easyboot.init.annotation.InitTable;
import cn.dogger.easyboot.init.enums.FieldTypeEnums;
import lombok.Data;

/**
 * 角色和菜单关联表
 *
 * @author dogger
 * 2022-07-27
 */
@Data
@InitTable(name = "sys_role_menu",remark = "角色和菜单关联表")
public class SysRoleMenu{

    @InitField(remark = "角色ID",name = "role_id",type = FieldTypeEnums.int_,keyFlag = true)
    private Long roleId;


    @InitField(remark = "菜单ID",name = "menu_id",type = FieldTypeEnums.int_)
    private Long menuId;

}